{% extends '::base.html.twig' %}

{% block title %}Survey{% endblock %}
{% block body %}{%block content %}
    <h1>ReferencedValue</h1>

    <table class="record_properties">
        <tbody>
            <tr>
                <th>Id</th>
                <td>{{ entity.id }}</td>
            </tr>
            <tr>
                <th>Name</th>
                <td>{{ entity.name }}</td>
            </tr>
            <tr>
                <th>Createdat</th>
                <td>{{ entity.createdAt|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Updatedat</th>
                <td>{{ entity.updatedAt|date('Y-m-d H:i:s') }}</td>
            </tr>
            <tr>
                <th>Refvalue</th>
                <td>{{ entity.refValue }}</td>
            </tr>
            <tr>
                <th>Imageurl</th>
                <td><img src="{{ entity.imageurl }}" width="100" /></td>
            </tr>
        </tbody>
    </table>

        <ul class="record_actions">
    <li>
        <a href="{{ path('wantuch_ref_val') }}">
            Back to the list
        </a>
    </li>
    <li>
        <a href="{{ path('wantuch_ref_val_edit', { 'id': entity.id }) }}">
            Edit
        </a>
    </li>
    <li>{{ form(delete_form) }}</li>
</ul>
{% endblock %}
{% endblock %}
